package com.scm.dao;

import com.scm.pojo.Customer;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

public interface CustomerMapper {
    void addCustomer(Customer customer);
    List<Customer> getPageCustomer(Map<String,Object> map);
    int count();
    void deleteCustomer(String customerCode);
    Customer findCustomer(String customerCode);
    void updateCustomer(Customer customer);
    List<String> getAllCustomerCode();
    List<Customer> getCustomer();
    String getCustomerName(String customerCode);
    List<Customer> selectCustomer(Map<String,Object> map);
    int selectCountCustomer(Map<String,Object> map);
}
